<div class="dataTables_title">
	<div class="dataTables_title_left">按钮注释</div>
	<div class="dataTables_title_right">
		<a class="btn btn-danger" href="#"><i class="icon-lock"></i> 屏蔽</a>
		<a class="btn btn-warning" href="#"><i class="icon-unlock"></i> 解除屏蔽</a>
		<!-- <a class="btn btn-danger" href=""><i class="icon-remove"></i> 撤销</a> -->
	</div>
</div>
<table cellpadding="1" cellspacing="1" class="table table-bordered animate2 fadeInUp">
	<thead>
		<tr class="ui-widget-header">
			<th>员工姓名</th>
			<th>原因</th>
			<th>类型</th>
			<th>创建人</th>
			<th>创建时间</th>
			<th>内容</th>
			<th style="width: 30px;">操作</th>
		</tr>
	</thead>
	<#list pageBean.resultList as reward>
	<tr class="ui-widget-content">
		<td>${reward.un}</td>
		<td>${reward.reason}</td>
		<td<#if reward.rtype == 1> style="color: red; font-weight: bold;"</#if>><#if reward.rtype == 1>奖励<#else>惩罚</#if></td>
		<td>${reward.cun}</td>
		<td>${reward.ct?string("yyyy-MM-dd")}</td>
		<td>${reward.content}</td>
		<td>
			<div class="btn-group">
				<#if !reward.deleted>
				<a class="btn btn-xs btn-danger" href="javascript:;" onclick="javascript: shield_reward('${reward.code}');return false;" title="屏蔽"><i class="icon-lock"></i></a>
				<#else>
				<a class="btn btn-xs btn-waring" href="javascript:;" onclick="javascript: unshield_reward('${reward.code}');return false;" title="解除屏蔽"><i class="icon-unlock"></i></a>
				</#if>
			<!-- <a class="btn btn-danger" href="#" onclick="javascript: delete_reward('${reward.code}', '${reward.name}'); return false;" title="撤销">
				<i class="icon-remove"></i></a> -->
			</div>
		</td>
	</tr>
	</#list>
</table>
<#import "/freemarker/pagination.ftl" as p>
<@p.pagination pageBean 'query_reward'/>